package com.heima;

public class Student {
    private String sId; //学生编号
    private String name;//名字
    private int age;//年龄
    private String birthday;//生日

    public Student() {
    }

    public Student(String sId, String name, int age, String birthday) {
        this.sId = sId;
        this.name = name;
        this.age = age;
        this.birthday = birthday;
    }

    public String getsId() {
        return sId;
    }

    public void setsId(String sId) {
        this.sId = sId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {

        this.age = age;
    }

    public String getBirthday() {
        return birthday;
    }

    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }

    public void eat(){
        System.out.println("eat");
    }
}